package com.yunang.officialweb.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

//创建实体对象
@Data
public class News {
    @TableId
    private Integer id;

    @TableField("title")
    private String title;

    @TableField("content")
    private String content;
}
